project(rayTracing)

include_directories(${CMAKE_SOURCE_DIR}/include)

set(BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)

file(GLOB VECTOR3_SRC "${CMAKE_SOURCE_DIR}/src/vector3/*.cpp")
add_library(vector3 ${VECTOR3_SRC})

file(GLOB COLOR_SRC "${CMAKE_SOURCE_DIR}/src/color/*.cpp")
add_library(color ${COLOR_SRC})

set(TEST_SRC ${CMAKE_SOURCE_DIR}/src/test1.cpp)



add_executable(${BINARY_DIR}/test1 ${TEST_SRC})
target_link_libraries(${BINARY_DIR}/test1 vector3 color)

set(CMAKE_BUILD_TYPE Debug)